.class abstract Lcom/greystripe/sdk/z;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Lcom/greystripe/sdk/c;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lcom/greystripe/sdk/c;)V
    .locals 2

    const/4 v0, 0x0

    const/4 v1, 0x0

    invoke-direct {p0, p1, v0, v1}, Lcom/greystripe/sdk/z;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput-object p2, p0, Lcom/greystripe/sdk/z;->a:Lcom/greystripe/sdk/c;

    invoke-virtual {p2}, Lcom/greystripe/sdk/c;->j()Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/greystripe/sdk/z;->addView(Landroid/view/View;)V

    return-void
.end method


# virtual methods
.method protected final a()V
    .locals 1

    iget-object v0, p0, Lcom/greystripe/sdk/z;->a:Lcom/greystripe/sdk/c;

    invoke-virtual {v0}, Lcom/greystripe/sdk/c;->j()Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/greystripe/sdk/z;->removeView(Landroid/view/View;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/greystripe/sdk/z;->a:Lcom/greystripe/sdk/c;

    return-void
.end method

.method protected final a(Lcom/greystripe/sdk/c;)V
    .locals 1

    iget-object v0, p0, Lcom/greystripe/sdk/z;->a:Lcom/greystripe/sdk/c;

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p1}, Lcom/greystripe/sdk/c;->j()Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/greystripe/sdk/z;->addView(Landroid/view/View;)V

    iput-object p1, p0, Lcom/greystripe/sdk/z;->a:Lcom/greystripe/sdk/c;

    goto :goto_0
.end method
